package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Pill;

public interface PillDao {
    int findCountByCode(String code);

    void edit(Pill pill);

    void add(Pill pill);

    Page<Pill> selectByCondition(String queryString);

    void delete(Integer id);

    Pill findById(Integer id);

    void update(Pill pill);

}
